#include <iostream>
#include <array>

int main()
{
	std::array<long double, 101> ar;
	
	long double res;
	
	ar[0] = ar[1] = 1LL;
	
	for(int i = 2; i < 101; i++)
	{
		ar[i] = i * ar[i -1];
	}
	
	for(int i = 0; i < 101; i++)
	{
		std::cout << i << "! = " << ar[i] << std::endl;
	}
	std::cin.get();
	return 0;
}
